package com.fw.service.property;

import java.util.List;

import com.fw.service.bean.EntryBean;

/**
 * Description: UI or service call this.
 * 
 * Example Key is com.fw.ui.xxx, com.fw.ui.yyy or com.fw.service.xxx.yyy
 * 
 * @author Songsak
 *
 */
public interface PropertyService {

    public String getProperty(String key);

    public String getPropertyWithDefaultValue(String key, String defaultValue);

    public List<EntryBean<String, String>> selectPropertyByPrefixKey(String prefixKey);

    public List<EntryBean<String, String>> getPropertyAll();

}
